package com.hy.hongying.util;

import java.util.Calendar;
import java.util.Date;


public class DateUtil {
    /**
     * 获取N天后*/
    public static Date getDate(int days){
        Calendar calendar=Calendar.getInstance();
        calendar.add(Calendar.DAY_OF_MONTH,days);
        return calendar.getTime();
    }
}
